import TaskStore from "./Task.Store";
import React from "react";

class RootStore {

    constructor() {
        this.taskStore = new TaskStore();
    }
}
let rootStore = new RootStore();
let context = React.createContext(rootStore);
const useStore =()=> React.useContext(context);
export {useStore};